#define _CRT_SECURE_NO_WARNINGS 1

int* twoSum(int* nums, int numsSize, int target, int* returnSize) {
    int num = 0;
    int num1 = 0;
    int i = 0;
    for (i = 0; i < numsSize; i++)
    {
        int j = 0;
        for (j = i + 1; j < numsSize; j++)
        {
            if (target == (nums[i] + nums[j]))
            {
                int* ret = malloc(sizeof(int) * 2);
                ret[0] = i, ret[1] = j;
                *returnSize = 2;
                return ret;
            }
        }
    }
    *returnSize = 0;
    return 0;
}

int main()
{
    return 0;
}